#!/usr/bin/env python
# -*- coding:utf-8 -*-

# file:homework2_1.py
# author:wmf
# datetime:2021/4/4 20:15
# software: PyCharm
'''
this is function description
'''
# import module your need

#1 写函数，判断用户传入的对象（字符串、列表、元组）长度,
# 并返回给调用者。

def GetLen(Object):
    return len(Object)

str1 = 'abcdef'

print(type(str1))
print(GetLen(str1))

list1 = [1,2,3,'a','b','c','m','n']

print(type(list1))
print(GetLen(list1))

tup1 = ('Google', 'Runoob', 1997, 2000)

print(type(tup1))
print(GetLen(tup1))

